{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    {include file="form" /}
    <div class="cl pd-5 bg-1 bk-gray">
        <span class="l">
            {tp:menu menu="add,forbid,resume,delete,recyclebin" /}
        </span>
        <span class="r pt-5 pr-5">
            共有数据 ：<strong>{$count ?? '0'}</strong> 条
        </span>
    </div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            {include file="th" /}
            <th width="70">操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr class="text-c">
            {include file="td" /}
            <td class="f-14">
                {$vo.status|show_status=$vo.id}
                {tp:menu menu='sedit' /}
                {tp:menu menu='sdelete' /}
                <a href="{:url('Kind/lookUser',['user_kind'=>$vo.id])}" class="btn btn-secondary size-MINI bm" title="报名人员">
                    报名人员
                </a>
                <!--<a href="">项目班级排名</a>-->
                <!--<a href=""></a>-->
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="page-bootstrap">{$page ?? ''}</div>
    <link rel="stylesheet" href="__LIB__/layui/css/layui.css">
    <script type="text/javascript" src="__LIB__/layui/layui.js"></script>
    <script>
        layui.use('layer', function(){
            var layer = layui.layer;
            $(".bm").click(function(){
                var href=$(this).attr("href");
                layer.open({
                    type: 2,
                    area:['30%', '60%'],
                    title:"本项目报名人员",
                    content: href
                });
                return false;
            })

        });

    </script>
</div>
{/block}

